<template>
<h2>Demo</h2>
<h2>{{ count }}</h2>
<button @click="addCount">Add</button>
<p>{{name}}</p>
<p v-html="msg"></p>
<p>
<input type="text" name="1" value="Cname">
<input type="text" :id="Cid" :name="Cname" >
</p>

<button @click="Istrue">Add</button>
</template>

<script setup lang="ts">
import{ref,onMounted}from 'vue'

//创建响应式数据
const count = ref(199);

function  Addcount(){
    count.value++;
}

const name="张三";
const msg = "<a>vue官网</a>"

const Istrue = true;


const Cname = "zhangsan"


</script>